<div class="workAdd">
    <app-head-title title="筛选"></app-head-title>
    <div class="workAdd_list">
        <form>
            <ul class="border-bottom-ddd">
                <li class="employeeDate border-bottom">
                    <label for="employeeName">报工日期：</label>
                    <input type="text" id="employeeDate" readonly="" data-lcalendar="2016-05-11,2016-05-11" [(ngModel)]="PersonScreening.WorkDate" name="workDate">
                    <i class="icon_date"></i>
                </li>
                <li class="employeeDate border-bottom">
                    <label for="DateSubmit">提交日期：</label>
                    <input type="text" id="DateSubmit" readonly="" data-lcalendar="2016-05-11,2016-05-11" [(ngModel)]="PersonScreening.SubmitDate" name="SubmitDate">
                    <i class="icon_date"></i>
                </li>
                <li class="projectName border-bottom">
                    <label for="projectName"><i class="paddingLeft">名</i><i class="paddingRight">称：</i></label><input type="text" id="projectName" [(ngModel)]="PersonScreening.ProName" name="ProName" #projectName (keyup)="keyChangeColor(projectName.value,$event)" (blur) = "pronameBlur()" autocomplete="off">
                    <ul class="projectName_img" name="flag" type="String" id="projectNameSearch" *ngIf="projectNameFlag">
                        <li class="border-bottom" *ngFor="let item of dataList.body.ProInfo" #nameSearchList (click)="addProjectName(item)">{{item.ProName}}</li>
                    </ul>
                    <i class="icon_search"></i>
                </li>
                <li class="projectNumber border-bottom">
                    <label for="projectNumber"><i class="paddingLeft">编</i><i class="paddingRight">号：</i></label><input type="text" id="projectNumber" [(ngModel)]="PersonScreening.ProId" name="ProId" #projectNumber (keyup)="projectIdSearch(projectNumber.value,$event)" (blur) = "projectNumberBlur()" autocomplete="off">
                    <ul class="projectId_img" name="flag" type="String" id="projectIdSearch" *ngIf="projectIdFlag">
                        <li class="border-bottom" *ngFor="let item of dataList.body.ProInfo" (click)="addProjectId(item)">{{item.ProId}}</li>
                    </ul>
                    <i class="icon_search"></i>
                </li>
                <li class="proType border-bottom">
                    <label for=""><i class="paddingLeft">类</i><i class="paddingRight">型：</i></label>
                    <span *ngIf="proType === '2'">项目</span>
                    <span *ngIf="proType === '1'">机会</span>
                </li>
                <li class="workType border-bottom ">
                    <label for="workType fl">工作类型：</label>
                    <input type="hidden" [(ngModel)]="PersonScreening.WorkType" name="WorkType" required>
                    <p class="fr">
                        <input (click)="choiceWorkType($event) " [ngClass]="{active:  iswork} " type="text" value="工作" onfocus="this.blur()">
                        <!-- <input (click)="choiceWorkType($event) " [ngClass]="{active: isAddWork} " type="text" value="加班" onfocus="this.blur()"> -->
                        <input (click)="choiceWorkType($event) " [ngClass]="{active: isleave} " type="text" value="请假" onfocus="this.blur()">
                    </p>
                </li>
                <li class="checkOpin border-bottom" *ngIf="flag === 'false'">
                    <label for="checkOpin fl">审核意见：</label>
                    <input type="hidden" [(ngModel)]="PersonScreening.CheckOpin" name="checkOpin" required>
                    <p class="fr">
                        <input (click)="choiceCheckOpin($event) " [ngClass]="{active:  agree} " type="text" value="同意" onfocus="this.blur()">
                        <input (click)="choiceCheckOpin($event) " [ngClass]="{active: reject} " type="text" value="驳回" onfocus="this.blur()">
                    </p>
                </li>
                <li class="workContent border-bottom">
                    <label for="workContent">工作内容：</label>
                    <textarea name="" id="workContent" [(ngModel)]="PersonScreening.WorkContent" name="workContent" autocomplete="off"></textarea>
                </li>
                <li class="consumptionTime border-bottom">
                    <label for="consumptionTime">消耗工时：</label><input type="text" id="consumptionTime" [(ngModel)]="PersonScreening.ConsumeTime" name="ConsumeTime" autocomplete="off">
                </li>
            </ul>
            <p class="btn_group">
                <button class="resetBtn" type="reset" (click)="resetBtn()" [disabled]="PersonScreening.pristine">重置</button>
                <button type="button" class="sureBtn" (click)="sureShow(flag)">确定</button>
            </p>
        </form>
    </div>
</div>